package com.clkj.zhonghui.pojo.product;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author yawang
 * @date Thu Jul 11 09:14:38 CST 2024
 * 商品规格
 */
@ApiModel( value ="t_zh_productFormat" )
@Table( name ="t_zh_productFormat" )
public class ProductFormat  implements Serializable {

    @Id
   	@Column(name = "format_id" ,updatable = false)
	@ApiModelProperty( value="null")
	private Integer formatId;

	/**
	 * 规格名称
	 */
   	@Column(name = "format_name" )
	@ApiModelProperty( value="规格名称")
	private String formatName;

	/**
	 * 商品ID
	 */
   	@Column(name = "product_id" )
	@ApiModelProperty( value="商品ID")
	private Integer productId;

	/**
	 * 原价
	 */
   	@Column(name = "format_price" )
	@ApiModelProperty( value="原价")
	private Double formatPrice;

	/**
	 * 库存
	 */
   	@Column(name = "format_inventory" )
	@ApiModelProperty( value="库存")
	private Integer formatInventory;

	/**
	 * 规格图片
	 */
   	@Column(name = "format_img" )
	@ApiModelProperty( value="规格图片")
	private String formatImg;

	/**
	 * 股东价格
	 */
   	@Column(name = "format_special" )
	@ApiModelProperty( value="股东价格")
	private Double formatSpecial;

  public Integer getFormatId() {
    return formatId;
  }

  public void setFormatId(Integer formatId) {
    this.formatId = formatId;
  }


  public String getFormatName() {
    return formatName;
  }

  public void setFormatName(String formatName) {
    this.formatName = formatName;
  }


  public Integer getProductId() {
    return productId;
  }

  public void setProductId(Integer productId) {
    this.productId = productId;
  }


  public Double getFormatPrice() {
    return formatPrice;
  }

  public void setFormatPrice(Double formatPrice) {
    this.formatPrice = formatPrice;
  }


  public Integer getFormatInventory() {
    return formatInventory;
  }

  public void setFormatInventory(Integer formatInventory) {
    this.formatInventory = formatInventory;
  }


  public String getFormatImg() {
    return formatImg;
  }

  public void setFormatImg(String formatImg) {
    this.formatImg = formatImg;
  }


  public Double getFormatSpecial() {
    return formatSpecial;
  }

  public void setFormatSpecial(Double formatSpecial) {
    this.formatSpecial = formatSpecial;
  }

}
